package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 项目招标表
 *
 * @author code-generate
 * @date 2022-11-02
 */
@Data
@DbTable(tableName = "t_proj_bid")
public class ProjBid extends BaseEntity {
    /**
     * 项目招标ID
     */
    @DbTableField(columnName = "c_proj_bid_id", dbType = DbTypeEnum.VARCHAR)
    public String projBidId;

    /**
     * 项目ID
     */
    @DbTableField(columnName = "c_proj_id", dbType = DbTypeEnum.VARCHAR)
    public String projId;

    /**
     * 招标方式（字典）
     */
    @DbTableField(columnName = "c_bid_way", dbType = DbTypeEnum.VARCHAR)
    public String bidWay;

    /**
     * 招标时间
     */
    @DbTableField(columnName = "c_bid_time", dbType = DbTypeEnum.DATE)
    public LocalDate bidTime;

    /**
     * 招标内容
     */
    @DbTableField(columnName = "c_bid_content", dbType = DbTypeEnum.VARCHAR)
    public String bidContent;

    /**
     * 招标人
     */
    @DbTableField(columnName = "c_bid_person_name", dbType = DbTypeEnum.VARCHAR)
    public String bidPersonName;

    /**
     * 招标代表机构
     */
    @DbTableField(columnName = "c_bid_agent_organ", dbType = DbTypeEnum.VARCHAR)
    public String bidAgentOrgan;

    /**
     * 挂网时间
     */
    @DbTableField(columnName = "c_hang_net_date", dbType = DbTypeEnum.DATE)
    public LocalDate hangNetDate;

    /**
     * 开标时间
     */
    @DbTableField(columnName = "c_bid_open_time", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime bidOpenTime;

    /**
     * 招标限价金额（元）
     */
    @DbTableField(columnName = "c_bid_limit_price", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal bidLimitPrice;

    /**
     * 中标单位
     */
    @DbTableField(columnName = "c_win_bid_ompany", dbType = DbTypeEnum.VARCHAR)
    public String winBidOmpany;

    /**
     * 中标联系人
     */
    @DbTableField(columnName = "c_win_person_name", dbType = DbTypeEnum.VARCHAR)
    public String winPersonName;

    /**
     * 中标联系电话
     */
    @DbTableField(columnName = "c_win_person_phone", dbType = DbTypeEnum.VARCHAR)
    public String winPersonPhone;

    /**
     * 中标内容
     */
    @DbTableField(columnName = "c_win_bid_content", dbType = DbTypeEnum.VARCHAR)
    public String winBidContent;

    /**
     * 中标价格（元）
     */
    @DbTableField(columnName = "c_win_bid_price", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal winBidPrice;

    /**
     * 中标时间
     */
    @DbTableField(columnName = "c_win_bid_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime winBidDate;

    /**
     * 招标状态（1 招标中 2 已中标）
     */
    @DbTableField(columnName = "c_bid_state", dbType = DbTypeEnum.INTEGER)
    public Integer bidState;

    /**
     * 备注
     */
    @DbTableField(columnName = "c_remark", dbType = DbTypeEnum.VARCHAR)
    public String remark;

    /**
     * 排序号
     */
    @DbTableField(columnName = "c_order_num", dbType = DbTypeEnum.INTEGER)
    public Integer orderNum;

    /**
     * 经办人
     */
    @DbTableField(columnName = "c_operator", dbType = DbTypeEnum.VARCHAR)
    public String operator;

    /**
     * 挂网结束时间
     */
    @DbTableField(columnName = "c_hang_net_end_date", dbType = DbTypeEnum.DATE)
    public LocalDate hangNetEndDate;

    @DbTableField(columnName = "c_proxy_company", dbType = DbTypeEnum.VARCHAR)
    public String proxyCompany;

    @DbTableField(columnName = "c_proxy_company_person", dbType = DbTypeEnum.VARCHAR)
    public String proxyCompanyPerson;

    @DbTableField(columnName = "c_proxy_company_tel", dbType = DbTypeEnum.VARCHAR)
    public String proxyCompanyTel;

    @DbTableField(columnName = "c_director", dbType = DbTypeEnum.VARCHAR)
    public String director;

    @DbTableField(columnName = "c_technical_director", dbType = DbTypeEnum.VARCHAR)
    public String technicalDirector;

    @DbTableField(columnName = "c_project_manager", dbType = DbTypeEnum.VARCHAR)
    public String projectManager;

    @DbTableField(columnName = "c_legal_person", dbType = DbTypeEnum.VARCHAR)
    public String legalPerson;

}
